# include<bits/stdc++.h>
using namespace std ;
int n ;
int a[100005] ;
int b[100005] ;
int main(){
    freopen("duel.in" , "r" , stdin ) ;
    freopen("duel.out" , "w" , stdout) ;
cin >> n ;
for ( int i = 1 ; i <= n ; ++ i ){
cin >> a[i] ;
b[i] = 1 ;
}
int ans = n ;
sort(a + 1 , a + n + 1 ) ;
for ( int i = 1 ; i <= n ; ++ i ){
for ( int j = i + 1 ; j <= n ; ++  j ){
if( a[i] < a[j] && a[i] != 0 && a[j] != 0 && b[j] == 1){
b[j] = 0 ;
ans -- ;
a[i] = 0 ;
}

}

}





cout << ans ;




fclose(stdin) ;
fclose(stdout) ;












return 0 ;
}
